namespace Identity.Account.Compoents;

public partial class Assignment
{
    private List<string> InternalValue
    {
        get => Value;
        set
        {
            Value = value;
            OnValueChanged?.Invoke(Value);
        }
    }

    private void SelectAll()
    {
        InternalValue = Items.Select(i => i.Value).ToList();
    }

    private void DeselectAll()
    {
        InternalValue = new List<string>();
    }
}
